/**
 * Copyright &copy; 2012-2014 <a href="https://github.com.jims.base">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.patient.health.entity;


import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 家族病史Entity
 * @author xueyx
 * @version 2017-07-20
 */
public class MedicalHist extends DataEntity<MedicalHist> {
	
	private static final long serialVersionUID = 1L;
	private String baseInfo;		// base_info
	private String brIdcard;
	private String brOther;		// br_other
	private String brothers;		// brothers
	private String chIdcard;
	private String chOther;		// ch_other
	private String children;		// children
	private String faIdcard;
	private String faOther;		// fa_other
	private String father;		// father
	private String maIdcard;
	private String maOther;		// ma_other
	private String mother;		// mother
	private String seOther;		// se_other
	private String self;		// self
	
	public MedicalHist() {
		super();
	}

	public MedicalHist(String id){
		super(id);
	}

	@Length(min=1, max=255, message="base_info长度必须介于 1 和 255 之间")
	public String getBaseInfo() {
		return baseInfo;
	}

	public void setBaseInfo(String baseInfo) {
		this.baseInfo = baseInfo;
	}
	
	@Length(min=0, max=255, message="br_other长度必须介于 0 和 255 之间")
	public String getBrOther() {
		return brOther;
	}

	public void setBrOther(String brOther) {
		this.brOther = brOther;
	}
	
	@Length(min=0, max=255, message="brothers长度必须介于 0 和 255 之间")
	public String getBrothers() {
		return brothers;
	}

	public void setBrothers(String brothers) {
		this.brothers = brothers;
	}
	
	@Length(min=0, max=255, message="ch_other长度必须介于 0 和 255 之间")
	public String getChOther() {
		return chOther;
	}

	public void setChOther(String chOther) {
		this.chOther = chOther;
	}
	
	@Length(min=0, max=255, message="children长度必须介于 0 和 255 之间")
	public String getChildren() {
		return children;
	}

	public void setChildren(String children) {
		this.children = children;
	}
	
	@Length(min=0, max=255, message="fa_other长度必须介于 0 和 255 之间")
	public String getFaOther() {
		return faOther;
	}

	public void setFaOther(String faOther) {
		this.faOther = faOther;
	}
	
	@Length(min=0, max=255, message="father长度必须介于 0 和 255 之间")
	public String getFather() {
		return father;
	}

	public void setFather(String father) {
		this.father = father;
	}
	
	@Length(min=0, max=255, message="ma_other长度必须介于 0 和 255 之间")
	public String getMaOther() {
		return maOther;
	}

	public void setMaOther(String maOther) {
		this.maOther = maOther;
	}
	
	@Length(min=0, max=255, message="mother长度必须介于 0 和 255 之间")
	public String getMother() {
		return mother;
	}

	public void setMother(String mother) {
		this.mother = mother;
	}
	
	@Length(min=0, max=255, message="se_other长度必须介于 0 和 255 之间")
	public String getSeOther() {
		return seOther;
	}

	public void setSeOther(String seOther) {
		this.seOther = seOther;
	}
	
	@Length(min=0, max=255, message="self长度必须介于 0 和 255 之间")
	public String getSelf() {
		return self;
	}

	public void setSelf(String self) {
		this.self = self;
	}
	@Length(min=0, max=18, message="self长度必须介于 0 和 18 之间")
	public String getMaIdcard() {
		return maIdcard;
	}

	public void setMaIdcard(String maIdcard) {
		this.maIdcard = maIdcard;
	}
	@Length(min=0, max=18, message="self长度必须介于 0 和 18 之间")
	public String getFaIdcard() {
		return faIdcard;
	}

	public void setFaIdcard(String faIdcard) {
		this.faIdcard = faIdcard;
	}
	@Length(min=0, max=18, message="self长度必须介于 0 和 18 之间")
	public String getChIdcard() {
		return chIdcard;
	}

	public void setChIdcard(String chIdcard) {
		this.chIdcard = chIdcard;
	}
	@Length(min=0, max=18, message="self长度必须介于 0 和 18 之间")
	public String getBrIdcard() {
		return brIdcard;
	}

	public void setBrIdcard(String brIdcard) {
		this.brIdcard = brIdcard;
	}
}